@use "@/scss/style.scss";

.sku-box {
    display: flex;
    flex: 1;
    flex-direction: column;
    background: #fff;

    .sku-info {
        display: flex;
        flex-direction: column;
        font-size: 20px;
        font-weight: bold;
        color: #333;

        .sku-name {
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    .sku-detailed {
        display: flex;
        margin-top: 16px;

        .sku-img {
            height: 100%;
            // background-size: contain;
        }

        .sku-batch {
            display: flex;
            flex: 1;
            flex-direction: column;
            height: 100%;
            padding-left: 16px;
            overflow-y: scroll;
            color: #666;

            .batch-cell {
                display: flex;
                align-items: center;
                width: 100%;
                padding: 0 2px;
                margin-bottom: 8px;
                background-color: #f6f7fb;

                .batch-label {
                    width: 100px;
                    overflow: hidden;
                    text-align: right;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

                .batch-value {
                    flex: 1;
                    width: 0;
                }
            }

            .sku-widget {
                flex: 1;
            }
        }
    }
}
